package com.sky.service.admin.impl;

import com.sky.mapper.user.UserCategoryMapper;
import com.sky.pojo.Category;
import com.sky.service.admin.UserCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description UserCategoryServiceImpl
 * @Author luohai
 * @Date 2024-10-21
 */
@Service
public class UserCategoryServiceImpl implements UserCategoryService {

    @Autowired
    private UserCategoryMapper userCategoryMapper;

    /**
     * 查询分类
     * @param
     * @return
     */
    @Override
    public List<Category> list() {
        return userCategoryMapper.list();
    }
}
